home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / DirectX / dxsdk_oct2004.exe / dxsdk.exe / Utilities / MView / gxu / showarcball.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-09-30  |  721 b   |  35 lines

  1. #pragma once
  2.  
  3. #ifndef SHOWARCBALL_H
  4. #define SHOWARCBALL_H
  5.  
  6. /*//////////////////////////////////////////////////////////////////////////////
  7. //
  8. // File: shownormal.h
  9. //
  10. // Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  11. //
  12. //
  13. //////////////////////////////////////////////////////////////////////////////*/
  14.  
  15. #include "gxcrackfvf.h"
  16.  
  17. class CShowArcball
  18. {
  19. public:
  20.     CShowArcball();
  21.     ~CShowArcball();
  22.  
  23.     HRESULT Init(LPDIRECT3DDEVICE9 pDevice, DWORD cSegments);
  24.     HRESULT Draw(LPD3DXEFFECT pfxColor, DWORD dwColor);
  25.  
  26. private:
  27.     HRESULT CreateEmptyOutline();
  28.  
  29.     LPDIRECT3DDEVICE9 m_pDevice;
  30.     LPDIRECT3DVERTEXBUFFER9 m_pVertexBuffer;
  31.     DWORD m_cSegments;
  32. };
  33.  
  34. #endif
  35.